<template>
  <div id="home">
    <h1>首页</h1>
    <p>{{msg}}</p>
    <router-view />
    <router-link to='/home/message'>消息</router-link>
    <router-link to='/home/detail'>详情</router-link>
  </div>
</template>

<script>

export default {
  name: 'home',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<style scoped>

</style>
